package com.cn.hnust.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cn.hnust.dao.UserDao;
import com.cn.hnust.entity.HtStaffType;

@Service
public class LoginService {
	
	@Autowired
	private UserDao userDao;
	
	public List<HtStaffType> queryStaffType(){
		
		List<HtStaffType> list = userDao.getStaffByName();
		return list;
		
	}
}
